package com.itheima.service;

import com.itheima.dto.UserDTO;
import com.itheima.pojo.MyUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.support.PageResult;
import com.itheima.support.QueryPageBean;

import java.util.List;

public interface MyUserService extends IService<MyUser> {

    boolean update(MyUser user);

    boolean add(MyUser user);

    boolean delete(Long id);

    PageResult findByPage(QueryPageBean queryPageBean);

    boolean updatePasswordByName(MyUser user);

    List<UserDTO> queryUser();
}
